﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="modelset.aspx.cs" Inherits="WEB.T_document.modelset" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            height: 25px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    单证模板设置
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" class="style2" valign="top" colspan="2">
                <asp:DropDownList ID="DropDownList1" runat="server" Height="22px" Width="61px">
                    <asp:ListItem Value="1">进口</asp:ListItem>
                    <asp:ListItem Value="2">出口</asp:ListItem>
                    <asp:ListItem Value="3">散货</asp:ListItem>
                </asp:DropDownList>
                模板名称:<asp:TextBox ID="TextBox1" runat="server" MaxLength="25"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="style1" valign="top">
                <asp:GridView ID="gvDocument0" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="#DEDFDE" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical"
                    Height="33px" Width="273px" OnRowDataBound="gvDocument_RowDataBound" OnRowDeleting="gvDocument_RowDeleting"
                    BorderStyle="None" CssClass="distance" 
                    onrowcommand="gvDocument0_RowCommand">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="codename" HeaderText="单证名称" />
                        <asp:ButtonField ButtonType="Button" CommandName="sheetid" Text="选择">
                            <ControlStyle CssClass="Submit_gvbig" />
                            <HeaderStyle Width="50px" />
                        </asp:ButtonField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" ForeColor="White" Font-Bold="True" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
            </td>
            <td align="center" class="style1" valign="top">
                <asp:GridView ID="gvDocument" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="#DEDFDE" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical"
                    Height="33px" Width="273px" OnRowDataBound="gvDocument_RowDataBound" OnRowDeleting="gvDocument_RowDeleting"
                    BorderStyle="None" CssClass="distance">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="codename" HeaderText="单证名称" />
                        <asp:CommandField ShowDeleteButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" ForeColor="White" Font-Bold="True" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                &nbsp;&nbsp;<asp:Button ID="Button3" runat="server" Text="查看模板" OnClick="Button3_Click"
                    CssClass="Submit_yellowbig" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
            <td align="center" valign="top">
                <asp:Button ID="Button2" runat="server" Text="完成" OnClick="Button2_Click" CssClass="Submit_yellow" />
                &nbsp;&nbsp;&nbsp;</td>
        </tr>
    </table>
</asp:Content>
